ListView.builder(
scrollDirection: Axis.vertical,
shrinkWrap: true,
...
Column(
children: <Widget>[
ListView(
shrinkWrap: true, // use this
),
],
)
GridView.builder(
scrollDirection: Axis.vertical,
shrinkWrap: true,
...
Column(
children: <Widget>[
Expanded( // wrap in Expanded
child: ListView(...),
),
],
)
Column(
children: <Widget>[
SizedBox(
height: 400, // fixed height
child: ListView(...),
),
],
)